<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/vectrics.tld" prefix="vectrics" %>


<vectrics:errors/>

<%
	String companyId = request.getParameter("companyId");
	String interviewId = request.getParameter("id");
	String resultCode = request.getParameter("resultCode");
%>

<jsp:useBean id="interviewForm" class="org.vectrics.recruiter.struts.admin.InterviewForm" scope="request"/>
			
<table width="400" cellspacing="2">
	<tr>
		<td><font>Candidate</font></td>
		<td class="formBg1"><font><bean:write name="interviewForm" property="candidateName"/></font></td>
	</tr>

	<tr>
		<td><font>Job</font></td>
		<td class="formBg1"><font><bean:write name="interviewForm" property="jobTitle"/></font></td>
	</tr>
</table>
<br><br>



<html:form action="/admin/jobs/candidate/interview/result/save" method="POST"  focus="resultCode">
	<html:hidden property="id"/>
	<html:hidden property="minutes"/>
	<html:hidden property="startDate"/>
	<html:hidden property="startAmPm"/>
	<html:hidden property="startHour"/>
	<html:hidden property="startMinute"/>
	<html:hidden property="description"/>
	<html:hidden property="notes"/>
	<html:hidden property="interviewerId"/>
	<html:hidden property="jobId"/>
	<html:hidden property="personId"/>
	<html:hidden property="statusCode"/>
	<html:hidden property="newInterviewCreated"/>

	<table>
		<tr>
			<td class="formBg1" valign="top" width="150">
				<font class="formLabelClass">Status</font>
			</td>
			<td class="formBg1" valign="top">
				<html:select name="interviewForm" property="resultCode" styleClass="formComboClass">
				  <html:options collection="resultTypes" labelProperty="name" property="code"/>
				</html:select>
			</td>
		</tr>

		<tr>
			<td class="formBg1" valign="top"><font class="formLabelClass">Result</font></td>
			<td class="formBg1" valign="top">
				<html:textarea rows="10" property="result" styleClass="formTextAreaClass" cols="80"/>
			</td>
		</tr>


		<tr>
			<td valign="TOP" align="left"></td>
			<td valign="TOP" align="left">
				<vectrics:formButton elementId="ok.btn" code="button.ok" phraseCode="button.ok" name="submit"/>
				<vectrics:formButton elementId="cancel.btn" code="button.cancel" phraseCode="button.cancel" name="cancel"/>&nbsp;
			</td>
		</tr>
	</table>
</html:form>
